<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../stylesheet.css" type="text/css"> 
<title>Szkoła jazdy :: Strona główna</title>
</head>
<body>
<div id="top">
<div id="HEADER"> </div>
<%@ include file="../pub/menu.jsp"%>

<h1>Plan zajęć dla kursu: kategoria <c:out value="${category}" />, instruktor - <c:out value="${instructor}" /></h1>
<table border="1">
<tr><td>Data</td><td>Godzina</td><td>Sala</td><td>Cena lekcji</td><td>Status lekcji</td></tr>
<c:forEach items="${theoryLessons}" var="tlesson">
<tr>
<td><c:out value="${tlesson.lessonDate}" /></td>
<td><c:out value="${tlesson.lessonTime}" /></td>
<td><c:out value="${tlesson.room}" /></td>
<td><c:out value="${tlesson.price}" /></td>
<td><c:out value="${tlesson.lessonStatus}" /></td>
</tr>
</c:forEach>
</table>

<a href="javascript:history.back();">Wstecz</a>

<div id="FOOTER">Pinky &amp; Mózg Inc. Dejta Bejses Prodżekt</div>
</div>
</body>
</html>